package com.rentalcar.rental_car.dao;

import com.rentalcar.rental_car.entity.OrderDate;
import com.rentalcar.rental_car.entity.Orders;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;

@Mapper
public interface OrdersMapper {
    List<Orders> getOrdersAll();
    List<Orders> selectByStatus(String status);
    List<Orders> selectByCustKey(Integer custKey);
    List<OrderDate> getMountByMonth();
    int add(Orders orders);
    int update(Orders orders);
    int delete(Orders orders);
}
